import request from '@/utils/request'

// 查询防疫管理列表
export function listFygl(query) {
  return request({
    url: '/exhibition/fygl/list',
    method: 'get',
    params: query
  })
}

// 查询防疫管理详细
export function getFygl(applyId) {
  return request({
    url: '/exhibition/fygl/' + applyId,
    method: 'get'
  })
}

// 新增防疫管理
export function addFygl(data) {
  return request({
    url: '/exhibition/fygl',
    method: 'post',
    data: data
  })
}

// 修改防疫管理
export function updateFygl(data) {
  return request({
    url: '/exhibition/fygl',
    method: 'put',
    data: data
  })
}

// 删除防疫管理
export function delFygl(applyId) {
  return request({
    url: '/exhibition/fygl/' + applyId,
    method: 'delete'
  })
}

// 导出防疫管理
export function exportFygl(query) {
  return request({
    url: '/exhibition/fygl/export',
    method: 'get',
    params: query
  })
}